window: Allow theme control over window buttons
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 Mar 2013 04:03:38 +0000 (23:03 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2013 16:19:50 +0000 (12:19 -0400)
commit037b1435ae5dc094f0d614b2992e414ce835c3e3
tree1cce4219d595233b3d3349e3cf7de1d5e390bed9
parent7d71f8888d54709537941c533c6ac157cd117304
window: Allow theme control over window buttons

Add a style property to control the presence and order of
window buttons. We allow buttons at the left and right side,
they can be specified like this: icon,close:minimize,maximize.

Also, change the default button layout back to have just a close
button on the right, use icons in buttons, and set style classes
on the buttons, to allow better theming.
gtk/gtkwindow.c